module.exports ={
    assetsDir: 'static',
    productionSourceMap: false,
    devServer: {
      host: 'localhost',
      port: 8080,
      proxy: {
        '/c2c':{
          target: 'http://localhost:8080/',
          changeOrigin: true, //是否跨域
          ws: true,
          secure: false, //是否https接口
          path: {
            '^/c2c':'/c2c'
          }
        }
      }
    },
    pwa: {
      iconPaths: {
        favicon32: 'favicon.ico',
        favicon16: 'favicon.ico',
        appleTouchIcon: 'favicon.ico',
        maskIcon: 'favicon.ico',
        msTileImage: 'favicon.ico'
      }
  }
}
  